package com.tebiecloud.base.client.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.tebiecloud.common.mybatis.base.entity.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 腾讯云推广信息
 * @author tebie
 * @date 2019-08-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SpreadTencent extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 标题
     */
    private String title;

    /**
     * 标题
     */
    private String content;

    /**
     * 图片地址
     */
    private String pic;

    /**
     * 跳转链接地址
     */
    private String link;

    /**
     * 1热门推荐 2更多优惠 3相关文章
     */
    private Integer type;

    /**
     * 0失效1生效
     */
    private Integer status;

    /**
     * 排序值，数值越小排越前
     */
    private Integer sort;

}
